<%@ include file="/template/header.jsp"%>

<div id="content">
    <%@ include file="/view/ehr/ehr_common.jsp"%>
        <div class="right-content">
			<div class="box">
				<h1>Search Results</h1>
				<s:form action="search_patient_drugs_given_to_patient_results_form" method="post">
					<s:if test="action.drugsGivenToPatient.size > 0"> 
					<%-- <s:iterator value="action.drugsGivenToPatient"> --%>
				
			    	<div class="box">
			    	<!-- <div class="left_box">
			        	<input type="radio" name="drugsGivenToPatient.patientid" class="side_radio"/>
			        </div>    -->
			        	<div class="con-part"><span><s:label key="prescribeDrugs1.dispenseId" cssClass="label_text">  </s:label></span>
			            	<s:textfield name="prescribeDrugs.dispenseId" key="prescribeDrugs.dispenseId" class="input-text" ></s:textfield>
			            </div>            
			            <div class="con-part"><span><s:label key="prescribeDrugs1.drugId" cssClass="label_text">  </s:label></span>
			            	<s:textfield name="prescribeDrugs.drugId" key="prescribeDrugs.drugId" class="input-text" readonly="true"></s:textfield>
			            </div>
			            <div class="con-part"><span><s:label key="prescribeDrugs1.dosage" cssClass="label_text">  </s:label></span>
			                <s:textfield name="prescribeDrugs.dosage" key="prescribeDrugs.dosage" class="input-text" readonly="true"></s:textfield>
			            </div>		            
			            <div class="con-part"><span><s:label key="prescribeDrugs1.noOfIssues" cssClass="label_text">  </s:label></span>
			                <s:textfield name="prescribeDrugs.noOfIssues" key="prescribeDrugs.noOfIssues" class="input-text" ></s:textfield>
			            </div>
			            <div class="con-part"><span><s:label key="prescribeDrugs1.dispensedquantity" cssClass="label_text">  </s:label></span>
			            	<s:textfield name="prescribeDrugs.quantity" key="prescribeDrugs.quantity" class="input-text" readonly="true"></s:textfield>
			            </div>			            		            
			            <div class="con-part"><span><s:label key="prescribeDrugs1.dispenseUnits" cssClass="label_text">  </s:label></span>
			                <s:textfield name="prescribeDrugs.dispenseUnits" key="prescribeDrugs.dispenseUnits" class="input-text" ></s:textfield>
			            </div>
			            <div class="con-part"><span><s:label key="prescribeDrug1s.dispenseDate" cssClass="label_text">  </s:label></span>
			                <s:textfield name="prescribeDrugs.requestDate" key="prescribeDrugs.requestDate" class="input-text" readonly="true"></s:textfield>
			            </div>			            
			            <div class="con-part"><span><s:label key="prescribeDrugs1.prescribeNo" cssClass="label_text">  </s:label></span>
			                <s:textfield name="prescribeDrugs.prescribeNo" key="prescribeDrugs.prescribeNo" class="input-text" ></s:textfield>
			            </div>			            
			            <div class="con-part"><span><s:label key="prescribeDrugs1.prescribedByID" cssClass="label_text">  </s:label></span>
			                <s:textfield name="prescribeDrugs.prescribedByID" key="prescribeDrugs.prescribedByID" class="input-text" ></s:textfield>
			            </div>
			        </div>
        	 <%-- </s:iterator> --%> 
        	</s:if>
        	 <div class="button_bar2">
					<s:submit key="prescribeDrugs.submit" cssClass="green" align="center"/>
			</div>
			</s:form>
			</div>
		</div>
</div>
	<%@ include file="/view/template/footer.jsp"%>
	
							<%-- <td><h4><s:text name="prescribeDrugs.patientId" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.dispenseId" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.drugId" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.noOfIssues" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.dosage" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.dispensedquantity" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.dispenseUnits" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.dispenseDate" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.dispenseTime" /></h4></td> 
							<td><h4><s:text name="prescribeDrugs.prescribeNo" /></h4></td>
							<td><h4><s:text name="prescribeDrugs.prescribeById" /></h4></td>

							<td><s:property value="prescriptionDrugs.patientId" default="1"/></td>
							<td><s:property value="prescriptionDrugs.requestId" default="1"/></td>
							<td><s:property value="prescriptionDrugs.drugId" default="2"/></td>
							<td><s:property value="Issue" default="1"/></td>
							<td><s:property value="prescriptionDrugs.dosage" default="3 pills per day"/></td>
							<td><s:property value="prescriptionDrugs.quantity" default="12"/></td>
							<td><s:property value="ETU" default="ETU"/></td>
							<td><s:property value="prescriptionDrugs.requestDate" default="2011-09-08"/></td>
							<td><s:property value="Time" default="10:05:00"/></td>
							<td><s:property value="prescriptionDrugs.prescriptionNo" default="1"/></td>
							<td><s:property value="prescriptionDrugs.prescribeById" default="1"/></td>

 --%>